ComponentOne Studio Web API Edition
TryGet Method

The item key.
The item
Try to get the instance which is mapped to the specified key.
Syntax
public bool TryGet( 
   string key,
   out T value
)
'Declaration
 
Public Function TryGet( _
   ByVal key As String, _
   ByRef value As T _
) As Boolean
 

Parameters

key
The item key.
value
The item

Return Value

true if contains an element with the specified key; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Manager<T> Class
Manager<T> Members

 

 


Copyright © 2025 GrapeCity, inc. All rights reserved.